package org.crumbleworks.crumbchat.common;

import org.crumbleworks.crumbchat.common.data.Message;
import org.crumbleworks.crumbchat.common.data.UserData;

import com.esotericsoftware.kryo.Kryo;
import com.esotericsoftware.kryonet.EndPoint;

public class Network {
    public static void register(EndPoint endPoint) {
        Kryo kryo = endPoint.getKryo();
        kryo.register(Message.class);
        kryo.register(UserData.class);
    }
}
